/* ============================================================
   LANDING PAGE – ÁREA 26
   ============================================================ */

:root {
    --accent: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.25);
    --dark: #05050a;
    --card-bg: #0a0a14;
    --border-color: #1a1a2e;
    --text: #eee;
    --text-muted: #888;
}

.landing-wrapper {
    background: var(--dark);
    color: var(--text);
    font-family: 'Courier New', 'JetBrains Mono', monospace;
    overflow-x: hidden;
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at center, var(--accent-glow), transparent 70%);
    opacity: 0.3;
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title-part {
    display: block;
    color: #fff;
}

.hero-title-highlight {
    display: block;
    color: var(--accent);
    font-size: 4.5rem;
    text-shadow: 0 0 40px var(--accent-glow);
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-destaque {
    color: #fff;
    font-size: 1.2rem;
}

.hero-destaque strong {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-hero-primary {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-hero-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 204, 0.4);
}

.btn-hero-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== TERMINAL NO HERO (novo) ========== */
.hero-terminal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: 0.95rem;
    margin: 18px 0 28px 0;
    min-height: 24px;
}

.hero-terminal-prompt {
    color: var(--accent);
    font-weight: bold;
}

.hero-terminal-cursor {
    animation: hero-blink 1s step-start infinite;
}

@keyframes hero-blink {
    50% { opacity: 0; }
}

/* ========== SOBRE ========== */
.sobre-section {
    padding: 80px 20px;
    background: #05050a;
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
}

.section-title .highlight {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diferencial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.08);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.diferencial-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.diferencial-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== NOVAS SEÇÕES: EYEBROW / ESTRUTURA / PATENTES / AVULSO ========== */

.landing-eyebrow {
    display: block;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    opacity: 0.85;
    text-align: left;
}

.landing-secao {
    padding: 80px 20px;
}

.landing-secao-destaque {
    background: linear-gradient(180deg, #08080c 0%, #0a0a14 100%);
    border-top: 1px solid rgba(0, 255, 204, 0.13);
    border-bottom: 1px solid rgba(0, 255, 204, 0.13);
}

.secao-subtitulo {
    color: #aabbcc;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 16px 0 40px 0;
}

/* ----- estrutura: matéria → frente → capítulo → módulo ----- */
.estrutura-trilha {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.estrutura-item {
    flex: 1;
    min-width: 180px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
}

.estrutura-selo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.estrutura-item h3 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.estrutura-item p {
    color: #99aabb;
    font-size: 0.85rem;
    line-height: 1.5;
}

.estrutura-conector {
    width: 32px;
    align-self: center;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(0,255,204,0.4) 0 6px, transparent 6px 12px);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .estrutura-trilha { flex-direction: column; }
    .estrutura-conector { width: 1px; height: 24px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(0,255,204,0.4) 0 6px, transparent 6px 12px); }
}

/* ----- patentes / gamificação ----- */
.patente-carimbo-linha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.patente-carimbo {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #aabbcc;
    border: 1px solid #445566;
    padding: 8px 16px;
    border-radius: 6px;
}

.patente-carimbo-max {
    color: #ffd700;
    border-color: #ffd700;
    font-weight: bold;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.25);
}

.patente-seta {
    color: #556;
}

.patente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.patente-beneficio {
    background: #0a0a14;
    border: 1px solid rgba(0, 255, 204, 0.13);
    border-radius: 14px;
    padding: 26px 22px;
}

.patente-icone {
    font-size: 2rem;
    margin-bottom: 12px;
}

.patente-beneficio h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.patente-beneficio p {
    color: #99aabb;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ----- módulos avulsos ----- */
.avulso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.avulso-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
}

.avulso-destaque {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
}

.avulso-tag {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #99aabb;
    border: 1px solid #445566;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.avulso-tag-destaque {
    color: #000;
    background: var(--accent);
    border-color: var(--accent);
    font-weight: bold;
}

.avulso-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.avulso-card p {
    color: #99aabb;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.avulso-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.avulso-lista li {
    color: #ccddee;
    font-size: 0.85rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.avulso-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ========== PLANOS / CTA FINAL ========== */
.planos-section {
    padding: 80px 20px;
    background: #05050a;
    border-bottom: 1px solid var(--border-color);
}

.planos-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.plano-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.plano-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.plano-destaque {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
    transform: scale(1.02);
}

.plano-destaque:hover {
    transform: scale(1.04);
}

.plano-badge {
    font-size: 0.65rem;
    background: rgba(0, 255, 204, 0.1);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.plano-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.plano-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 50px;
}

.plano-preco {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.plano-preco span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plano-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plano-features li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.plano-features li:last-child {
    border-bottom: none;
}

.btn-plano {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
}

.btn-plano-free {
    background: transparent;
    border: 2px solid var(--border-color);
    color: #fff;
}

.btn-plano-free:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-plano-destaque {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}

.btn-plano-destaque:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.4);
}

.btn-plano-vitalicio {
    background: rgba(0, 255, 204, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-plano-vitalicio:hover {
    background: var(--accent);
    color: #000;
}

/* CTA final: como o botão fica sozinho e centralizado, dá um teto
   de largura pra não esticar feio em telas grandes */
.planos-section .btn-plano {
    max-width: 340px;
    margin: 0 auto;
}

/* ========== RODAPÉ ========== */
.footer {
    padding: 30px 20px;
    background: #000;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-title-highlight {
        font-size: 3.2rem;
    }
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .planos-grid {
        grid-template-columns: 1fr;
    }
    .plano-destaque {
        transform: scale(1);
    }
    .plano-destaque:hover {
        transform: scale(1.02);
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .landing-secao {
        padding: 56px 16px;
    }
    .patente-carimbo {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-title-highlight {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== MODAL DE LOGIN ========== */
.modal-login-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}
.modal-login-box {
    background: #0d0d1a;
    border: 2px solid #00ffcc;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-sizing: border-box;
}
.modal-login-fechar {
    position: absolute;
    top: 10px;
    right: 16px;
    background: none;
    border: none;
    color: #ff4444;
    font-size: 28px;
    cursor: pointer;
    font-family: monospace;
}
.modal-login-titulo {
    color: #00ffcc;
    text-align: center;
    font-family: monospace;
    margin-top: 0;
}
.modal-login-sub {
    color: #888;
    text-align: center;
    font-family: monospace;
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.modal-login-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: #0a0a0a;
    border: 1px solid #1a1a2e;
    color: #fff;
    border-radius: 8px;
    font-family: monospace;
    box-sizing: border-box;
}
.modal-login-input:focus {
    outline: none;
    border-color: #00ffcc;
}
.modal-login-msg {
    color: #ff4444;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 12px;
    font-family: monospace;
    min-height: 20px;
}
.modal-login-btn {
    width: 100%;
    padding: 14px;
    background: #00ffcc;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-family: monospace;
    cursor: pointer;
    font-size: 1rem;
}
.modal-login-btn:hover {
    background: #00ddbb;
}
.modal-login-toggle {
    color: #666;
    text-align: center;
    margin-top: 16px;
    font-size: 0.7rem;
    font-family: monospace;
}
.modal-login-toggle span {
    color: #00ffcc;
    cursor: pointer;
}
.modal-login-toggle span:hover {
    text-decoration: underline;
}
.modal-cadastro-panel {
    margin-top: 16px;
}